<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
</body>
<script>


 let arr =[11,33,44,2,99,0];

 let max = Math.max.apply(null,arr)

 console.log('max :>> ', max);



</script>
</html>